package com.bbm.communitysystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author bbm
 * @since 2025-02-13
 */
@Data
@Schema(description = "小区信息实体类")
public class CommunityDto {

    @Schema(description = "小区唯一标识")
    private Integer id;

    /**
     * 物业id
     */
    @Schema(description = "关联物业ID", example = "10001")
    private Integer propertyId;

    /**
     * 小区名称
     */
    @Schema(description = "小区全称", example = "阳光花园小区")
    private String communityName;

    /**
     * 小区地点
     */
    @Schema(description = "详细地址（格式：XX市XX区XX路XX号）", example = "北京市朝阳区建国路123号")
    private String communityAddr;

    /**
     * 小区联系人
     */
    @Schema(description = "物业负责人", example = "张经理 13800138000")
    private String communityContact;

    /**
     * 上传者
     */
    @Schema(description = "最后更新人", example = "system_admin")
    private String updateBy;

    /**
     * 1启用 0不启用
     */
    @Schema(description = "启用状态", allowableValues = {"0", "1"}, defaultValue = "1")
    private Integer status;

}